﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace HYBYSoft.Company.Models
{
    [MetadataType(typeof(EventLog_Metadata))]
    public partial class EventLog
    {
        public class EventLog_Metadata
        {
            public int EventID
            { get; set; }

            [Display(Name = "事件信息")]
            public string EventMessage
            { get; set; }

            [Display(Name = "详细信息")]
            public string EventDescription
            { get; set; }

            [Display(Name = "类别")]
            public string EventCategory
            { get; set; }

            [Display(Name = "优先级")]
            public int? EventPriority
            { get; set; }

            [Display(Name = "操作者")]
            public string EventOperator
            { get; set; }

            [Display(Name = "发生时间")]
            public DateTime EventTime
            { get; set; }

            [Display(Name = "IP地址")]
            public string EventMachine
            { get; set; }

            [Display(Name = "控制器")]
            public string ControllorName
            { get; set; }

            [Display(Name = "方法")]
            public string ActionName
            { get; set; }
        }
    }
}
